# coding=utf-8
'''
Created on 2018年12月12日

@author: lijie
'''
from utilites.common import Common


class Helper():
    LOGIN = 'login'   
    ACCOUNT = 'account'
    UERINFO = 'userinfo'
     
    def navigate_to_main_frame(self, dr):
        Common().switch_to_frame_by_xpath(dr, "//iframe[@id='main']")

    def navigate_to_timesheet_frame(self, dr):
        Common().switch_to_frame_by_xpath(dr, "//iframe[@id='zwIframe']")

    def navigate_to_project_list_frame(self, dr):
        Common().switch_to_frame_by_xpath(dr, "//iframe[@id='layui-layer-iframe1']")
